package com.group01.community.utils;

/**
 * 业务类型
 */
public enum BusinessType {
    ADD("新增", "add", 1),
    UPDATE("修改", "update", 2),
    DELETE("删除", "delete", 3),
    AUTHORIZATION("授权", "authorization", 4),
    EXPORT("导出", "export", 5),
    IMPORT("导入", "import", 6),
    EXIT("强退", "exit", 7),
    GENERATE("生成代码", "generate", 8),
    CLEAR("清空数据", "clear", 9);

    private String cnMsg;
    private String usMSg;
    private Integer value;

    BusinessType(String cnMsg, String usMSg, Integer value) {
        this.cnMsg = cnMsg;
        this.usMSg = usMSg;
        this.value = value;
    }

    public String getCnMsg() {
        return cnMsg;
    }

    public void setCnMsg(String cnMsg) {
        this.cnMsg = cnMsg;
    }

    public String getUsMSg() {
        return usMSg;
    }

    public void setUsMSg(String usMSg) {
        this.usMSg = usMSg;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }
}
